import useDataApi from '@/hooks/useDataApi/useDataApi';
import {
    getScoreTaskList,
    getWaitForStartTaskList,
    getAlreadyStartTaskList,
    getNoScoreTaskList,
    getEstimateRecordList
} from '../services';

export const useScoreTaskList = query => useDataApi(getScoreTaskList, query);

export const useWaitForStartTaskList = query => useDataApi(getWaitForStartTaskList, query);

export const useAlreadyStartTaskList = query => useDataApi(getAlreadyStartTaskList, query);

export const useNoScoreTaskList = query => useDataApi(getNoScoreTaskList, query);

export const useEstimateRecordList = query => useDataApi(getEstimateRecordList, query);
